package com.sharemarking.wa.platform.controller;

import com.sharemarking.wa.common.ResponseParams;
import com.sharemarking.wa.platform.service.StatisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author dxy
 */
@RestController
@RequestMapping("statistics")
public class StatisticsController {


    @Autowired
    private StatisticsService statisticsService;

    /**
     * 获取统计列表
     * @return
     * @throws Exception
     */
    @RequestMapping(value = "getInfo")
    public ResponseParams<?> getInfo() throws Exception {
        return statisticsService.getInfo();
    }




}
